package com.gxa.insurance.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @date 2022/6/6
 */
@ApiModel(value = "领标订单")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class BringTheOrder {

    @ApiModelProperty(name ="id",value = "编号",dataType="int",required = false,hidden = true)
    private Integer id;

    @ApiModelProperty(name="orderId",value = "order表id",required = true)
    private Integer orderId;

    @ApiModelProperty(name="orderTime",value = "下单时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date orderTime;

    @ApiModelProperty(name="forensicsDriver",value = "取证司机",required = true)
    private String forensicsDriver;

    @ApiModelProperty(name="forensicsDriverArea",value = "取证司机区域",required = true)
    private String forensicsDriverArea;
    @ApiModelProperty(name="forensicsCityId",value = "取证司机 地区",required = true)
    private String forensicsCityId;

    @ApiModelProperty(name="alsoTheDriver",value = "还证司机",required = true)
    private String alsoTheDriver;

    @ApiModelProperty(name="alsoTheDriverArea",value = "还证司机区域",required = true)
    private String alsoTheDriverArea;

    @ApiModelProperty(name="orderWorkCompany",value = "派工单位 来自order表",required = true)
    private String orderWorkCompany;

    @ApiModelProperty(name = "inspectPlace",value = "检测厂",dataType = "RepairDepot")
    private RepairDepot inspectPlace;

    @ApiModelProperty(name = "inspectArea",value = "检测厂区域",dataType = "String")
    private String inspectArea;

    @ApiModelProperty(name="isMakeCompensation",value = "是否需要赔偿",required = true)
    private Boolean isMakeCompensation;

    @ApiModelProperty(name="isFiveCirecle",value = "是否在五环",required = true)
    private Boolean isFiveCirecle;

    @ApiModelProperty(name="isSendMessage",value = "是否发送短信",required = true)
    private Boolean isSendMessage;

    @ApiModelProperty(name="attention",value = "特定事项",required = true)
    private String attention;

    @ApiModelProperty(name="clientMessageContent",value = "短信内容 给客户的",required = true)
    private String clientMessageContent;

    @ApiModelProperty(name="clientMessageOperate",value = "|操作短信1、生成短信2、发送给客户",required = true)
    private Boolean clientMessageOperate;

    @ApiModelProperty(name="driverMessageContent",value = "短信内容 给司机的",required = true)
    private String driverMessageContent;

    @ApiModelProperty(name="driverMessageOperate",value = "|操作短信1、生成短信2、发送给司机",required = true)
    private Boolean driverMessageOperate;

    @ApiModelProperty(name="getCarTime",value = "接车时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date getCarTime;

    @ApiModelProperty(name="plateNo",value = "车牌号",required = true)
    private String plateNo;

    @ApiModelProperty(name="engineNumber",value = "发动机号",required = true)
    private String engineNumber;

    @ApiModelProperty(name="contactPerson",value = "联系人",required = true)
    private String contactPerson;

    @ApiModelProperty(name="contactPhone",value = "联系电话",required = true)
    private String contactPhone;

    @ApiModelProperty(name="registerPerson",value = "登记人",required = true)
    private String registerPerson;

    @ApiModelProperty(name="receivePosition",value = "接车地点",required = true)
    private String receivePosition;

    @ApiModelProperty(name="returnPosition",value = "还车地点",required = true)
    private String returnPosition;

    @ApiModelProperty(name="receiveMap",value = "接车地点经纬度",required = true)
    private String receiveMap;

    @ApiModelProperty(name="returnMap",value = "还车地点经纬度",required = true)
    private String returnMap;

    @ApiModelProperty(name="tip",value = "备注",required = true)
    private String tip;

    @ApiModelProperty(name="returnTime",value = "预计还车时间",required = true)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date returnTime;

    @ApiModelProperty(name="pictureDesc",value = "拍照内容描述",required = true)
    private String pictureDesc;


}
